Optimal. Leaf size=48 \[ \frac{1}{24} \left (4 d x^6+3 e x^8\right ) \left (a+b \log \left (c x^n\right )\right )-\frac{1}{36} b d n x^6-\frac{1}{64} b e n x^8 \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0430605, antiderivative size = 48, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.095, Rules used = {14, 2334} \[ \frac{1}{24} \left (4 d x^6+3 e x^8\right ) \left (a+b \log \left (c x^n\right )\right )-\frac{1}{36} b d n x^6-\frac{1}{64} b e n x^8 \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2334
Rubi steps
\begin{align*} \int x^5 \left (d+e x^2\right ) \left (a+b \log \left (c x^n\right )\right ) \, dx &=\frac{1}{24} \left (4 d x^6+3 e x^8\right ) \left (a+b \log \left (c x^n\right )\right )-(b n) \int \left (\frac{d x^5}{6}+\frac{e x^7}{8}\right ) \, dx\\ &=-\frac{1}{36} b d n x^6-\frac{1}{64} b e n x^8+\frac{1}{24} \left (4 d x^6+3 e x^8\right ) \left (a+b \log \left (c x^n\right )\right )\\ \end{align*}
Mathematica [A] time = 0.0027855, size = 69, normalized size = 1.44 \[ \frac{1}{6} a d x^6+\frac{1}{8} a e x^8+\frac{1}{6} b d x^6 \log \left (c x^n\right )+\frac{1}{8} b e x^8 \log \left (c x^n\right )-\frac{1}{36} b d n x^6-\frac{1}{64} b e n x^8 \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.203, size = 266, normalized size = 5.5 \begin{align*}{\frac{b{x}^{6} \left ( 3\,e{x}^{2}+4\,d \right ) \ln \left ({x}^{n} \right ) }{24}}+{\frac{i}{16}}\pi \,be{x}^{8}{\it csgn} \left ( i{x}^{n} \right ) \left ({\it csgn} \left ( ic{x}^{n} \right ) \right ) ^{2}-{\frac{i}{16}}\pi \,be{x}^{8}{\it csgn} \left ( i{x}^{n} \right ){\it csgn} \left ( ic{x}^{n} \right ){\it csgn} \left ( ic \right ) -{\frac{i}{16}}\pi \,be{x}^{8} \left ({\it csgn} \left ( ic{x}^{n} \right ) \right ) ^{3}+{\frac{i}{16}}\pi \,be{x}^{8} \left ({\it csgn} \left ( ic{x}^{n} \right ) \right ) ^{2}{\it csgn} \left ( ic \right ) +{\frac{\ln \left ( c \right ) be{x}^{8}}{8}}-{\frac{ben{x}^{8}}{64}}+{\frac{ae{x}^{8}}{8}}+{\frac{i}{12}}\pi \,bd{x}^{6}{\it csgn} \left ( i{x}^{n} \right ) \left ({\it csgn} \left ( ic{x}^{n} \right ) \right ) ^{2}-{\frac{i}{12}}\pi \,bd{x}^{6}{\it csgn} \left ( i{x}^{n} \right ){\it csgn} \left ( ic{x}^{n} \right ){\it csgn} \left ( ic \right ) -{\frac{i}{12}}\pi \,bd{x}^{6} \left ({\it csgn} \left ( ic{x}^{n} \right ) \right ) ^{3}+{\frac{i}{12}}\pi \,bd{x}^{6} \left ({\it csgn} \left ( ic{x}^{n} \right ) \right ) ^{2}{\it csgn} \left ( ic \right ) +{\frac{\ln \left ( c \right ) bd{x}^{6}}{6}}-{\frac{bdn{x}^{6}}{36}}+{\frac{ad{x}^{6}}{6}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.16571, size = 77, normalized size = 1.6 \begin{align*} -\frac{1}{64} \, b e n x^{8} + \frac{1}{8} \, b e x^{8} \log \left (c x^{n}\right ) + \frac{1}{8} \, a e x^{8} - \frac{1}{36} \, b d n x^{6} + \frac{1}{6} \, b d x^{6} \log \left (c x^{n}\right ) + \frac{1}{6} \, a d x^{6} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.30038, size = 181, normalized size = 3.77 \begin{align*} -\frac{1}{64} \,{\left (b e n - 8 \, a e\right )} x^{8} - \frac{1}{36} \,{\left (b d n - 6 \, a d\right )} x^{6} + \frac{1}{24} \,{\left (3 \, b e x^{8} + 4 \, b d x^{6}\right )} \log \left (c\right ) + \frac{1}{24} \,{\left (3 \, b e n x^{8} + 4 \, b d n x^{6}\right )} \log \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 13.618, size = 87, normalized size = 1.81 \begin{align*} \frac{a d x^{6}}{6} + \frac{a e x^{8}}{8} + \frac{b d n x^{6} \log{\left (x \right )}}{6} - \frac{b d n x^{6}}{36} + \frac{b d x^{6} \log{\left (c \right )}}{6} + \frac{b e n x^{8} \log{\left (x \right )}}{8} - \frac{b e n x^{8}}{64} + \frac{b e x^{8} \log{\left (c \right )}}{8} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.32868, size = 99, normalized size = 2.06 \begin{align*} \frac{1}{8} \, b n x^{8} e \log \left (x\right ) - \frac{1}{64} \, b n x^{8} e + \frac{1}{8} \, b x^{8} e \log \left (c\right ) + \frac{1}{8} \, a x^{8} e + \frac{1}{6} \, b d n x^{6} \log \left (x\right ) - \frac{1}{36} \, b d n x^{6} + \frac{1}{6} \, b d x^{6} \log \left (c\right ) + \frac{1}{6} \, a d x^{6} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]